﻿@model etracks.Web.ResourceRegistrationViewModel

@using (Html.BeginForm("Add", "Resource", FormMethod.Post, new { @class = "form-horizontal" }))
{
    <div class="form-group">
        <h3 class="col-sm-offset-2 col-sm-8">Add Resource</h3>
    </div>

    @Html.Partial("Resource_InputFormPartial", Model)

    <div class="form-group">
        <div class="col-sm-offset-2 col-sm-8">
            <button type="submit" class="btn btn-default">Save changes</button>

            @Html.ActionLink("List Resource", "List", "Resource", new { id = string.Empty }, new { @class = "btn btn-default" })

        </div>
    </div>
}